package com.hns.phone.maintenance.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hns.can.common.vo.CommonParamsVo;
import com.hns.can.master.entity.CommCarCurrentLoInfoEntity;
import com.hns.frame.service.CommonService;
import com.hns.tool.pub.PubUtil;

@Service
public class PhoneOperationManageService extends CommonService{

	/**
     * @param params
     * @param request
     * @param response
     * @author:zhangy
     * @email:zhangyu2222z@sina.cn
     * @创建日期:2015年9月7日
     * @功能说明：获取线路实时路况
     */
	@SuppressWarnings("unchecked")
	@Transactional
	public List<CommCarCurrentLoInfoEntity> getRealTimeTrafficStatus(CommonParamsVo params) {
		List<CommCarCurrentLoInfoEntity> selectList = PubUtil
				.convertListMapToObject(sqlMapDao.selectList(
						"phoneOperationManager.getRealTimeTrafficStatus", params),
						CommCarCurrentLoInfoEntity.class);
		return selectList;
	}
	
}
